﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wucNewsList.ascx.cs" Inherits="Modules_WebsiteFrontSub_wucNewsList" %>
<%@ Register Src="wucPaging.ascx" TagName="wucPaging" TagPrefix="uc1" %>
<table border="0" cellpadding="0" cellspacing="0" width="580">
    <tr>
        <td>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td class="bdHeaderRight1" height="35" width="8">
                    </td>
                    <td class="bdHeaderCenter" height="35" align="center">
                        Tin tức
                    </td>
                    <td class="bdHeaderRight" height="35" width="8">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td class="bdCatLR" width="1">
                    </td>
                    <td>
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="center" style="padding: 4px 4px 4px 4px;" class="aboutUs">
                                    <asp:DataList ID="dlNewsList" runat="server">
                                        <ItemTemplate>
                                            <table border="0" cellpadding="0" cellspacing="0" height="135" width="100%">
                                                <tr>
                                                    <td style="padding: 5px 10px 0 5px;" valign="top" width="150">
                                                        <a href='Default.aspx?Page=NewsDetail&NewsId=<%# Eval("NewsID") %>'>
                                                            <asp:Image ID="imgThumb" runat="server" Width="151" Height="122" ImageUrl='<%# Eval("Image") + "thumbimg/thumb150x135.jpg" %>'
                                                                ImageAlign="Middle" /></a>
                                                    </td>
                                                    <td valign="top" style="padding: 5px 5px 0 0;" align="left">
                                                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                            <tr>
                                                                <td class="productTitle" align="left">
                                                                    <a href='Default.aspx?page=NewsDetail&newsID=<%# Eval("NewsID") %>'>
                                                                        <%# Eval("Tittle") %>
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td style="padding: 5px 0 0 0;" align="left">
                                                                    <%# Eval("Summary") %>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2" class="catSeperate" height="1">
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                    </asp:DataList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <uc1:wucPaging ID="PagingObject" runat="server" CurrentPage="1" NumberOfPageDisplay="5"
                                        PageSize="7" EnableViewState="true" PagingDisplayNavigatorSetting="PrevAndNext"
                                        PagingNavigatorSetting="Hyperlink" PagingNumberSetting="NotUsed" PagingObjectContainerCssClass="SongListPagingObjectContainer"
                                        NavigatorObjectPrevLinkCssClass="PagingNextPrevText" NavigatorObjectPrevLinkText="Trang trước"
                                        NavigatorObjectNextLinkText="Trang sau" NavigatorObjectNextLinkCssClass="PagingNextPrevText"
                                        NavigatorObjectFirstLinkCssClass="PagingNextPrevText" NavigatorObjectFirstLinkText="<< First "
                                        NavigatorObjectLastLinkCssClass="PagingNextPrevText" NavigatorObjectLastLinkText=" Last >>"
                                        NavigatorObjectFirstContainerCssClass="SongListNavigatorObjectPrevContainerCssClass"
                                        NavigatorObjectLastContainerCssClass="SongListNavigatorObjectPrevContainerCssClass"
                                        NavigatorObjectPrevContainerCssClass="SongListNavigatorObjectPrevContainerCssClass"
                                        NavigatorObjectPrevImageButtonCssClass="SongListNavigatorObjectPrevImageButton"
                                        NavigatorObjectPrevImageButtonImageUrl="~/App_Themes/Hitech/images/Prev.jpg"
                                        NavigatorObjectNextContainerCssClass="SongListNavigatorObjectNextContainerCssClass"
                                        NavigatorObjectNextImageButtonCssClass="SongListNavigatorObjectNextImageButton"
                                        NavigatorObjectNextImageButtonImageUrl="~/App_Themes/Hitech/images/Next.jpg"
                                        NavigatorObjectNumericContainerCssClass="SongListNavigatorObjectNumericContainer"
                                        NumericSectionNumericListCssClass="SongListNumericSectionNumericList" NumericSectionNumericListItemContainerCssClass="SongListNumericSectionNumericListItemContainer"
                                        NumericSectionNumericListItemSelectedContainerCssClass="SongListNumericSectionNumericListItemSelectedContainer"
                                        NumericSectionNumericListHyperlinkCssClass="SongListNumericSectionNumericListHyperlink"
                                        NumericSectionNumericListHyperlinkSelectedCssClass="SongListNumericSectionNumericListHyperlinkSelected"
                                        NumericSectionNumericListItemCssClass="SongListNumericSectionNumericListItem"
                                        NumericSectionNumericListItemSelectedCssClass="SongListNumericSectionNumericListItemSelected"
                                        NumericSectionNumericListItemAlternatingCssClass="SongListNumericSectionNumericListItem"
                                        PagesCurrentCssClass="SongListNumericSectionNumericListHyperlink" PagesCurrentTotalSeperatorText=" / "
                                        PagesCurrentTotalSeperatorCssClass="SongListNumericSectionNumericListHyperlink"
                                        PagesTotalCssClass="SongListNumericSectionNumericListHyperlink" RecordsCurrentCssClass="SongListNumericSectionNumericListHyperlink"
                                        RecordsCurrentTotalSeperatorText=" / " RecordsCurrentTotalSeperatorCssClass="SongListNumericSectionNumericListHyperlink"
                                        RecordsTotalCssClass="SongListNumericSectionNumericListHyperlink" OnPageSelectedIndexChanged="PagingObject_PageSelectedIndexChanged" />
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td class="bdCatLR" width="1">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td class="bdCatLeftBot" width="7" height="7">
                    </td>
                    <td class="bdCatCenterBot" height="7" width="566">
                    </td>
                    <td class="bdCatRightBot" width="7" height="7">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
